package com.uncp.comisiondeadmision.pruebas;

import static org.junit.Assert.assertNotNull;

import java.sql.Date;

import org.junit.Before;
import org.junit.Test;

import com.uncp.comisiondeadmision.service.SCdp;
import com.uncp.comisiondeadmision.service.SHistorialIgv;
import com.uncp.comisiondeadmision.util.entity.ECdp;
import com.uncp.comisiondeadmision.util.entity.EHistorialIgv;


public class TestCdp {

	SCdp servicio;

@Before
public void antes() {
	servicio= new SCdp(7);
}
      
@Test
public void prueba() {
	
	String valor1 = "3456789012";
	String valor2 = "9999999999";
	
	try {
		
		assertNotNull(servicio.buscarXPk(valor1));
	} catch (Exception e) {
		e.printStackTrace();
	}
}

}
